﻿using SharpStockLib.Fin;

namespace SharpStockLib.Net
{
    /// <summary>
    /// Just like DownloadResult except it also stores info for the stock in the Stock property
    /// </summary>
    public class YahooResult : DownloadResult
    {
        public YahooResult()
        {
        }

        public YahooResult(DownloadResult res)
        {
            Exception = res.Exception;
            OutputFile = res.OutputFile;
            Status = res.Status;
        }

        public Stock Stock
        {
            get;
            set;
        }
    }
}
